Flutter Installation - My Flutter
This chapter will guide you through the installation of Flutter on your local computer in detail.
To Install and run Flutter on the window system, first you need to these requirements for your development environment.
| Operating System | Windows 7 or Later (I am Windows 10. You can also use Mac or Linux OS.). |
| Disk Space | 400 MB (It does not include disk space for IDE/tools). |
| Tools | 1. Windows PowerShell 2. Git for Windows 2.x (Here, Use Git from Windows Command Prompt option). |
| SDK | Flutter SDK for Windows |
| IDE | Android Studio (Official) |
Flutter Installation in Windows
Step 1 - First Go To URL, Flutter.dev and download the latest Flutter SDK. As of May 2023, the version is 3.10.2 and the file is flutter_windows_3.10.2-stable.zip.
Step 2 - Unzip the download zip file in a folder.
Step 3 - Update your system path to include flutter bin directory.
Step 4 - Flutter provide a tool, flutter doctor to check all the requirement of flutter development.
- flutter doctorStep 5 - Running the above command will analyze the system and show its
report as shown below
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17134.706], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [√] Android Studio (version 3.2) [√] VS Code, 64-bit edition (version 1.29.1) [!] Connected device ! No devices available ! Doctor found issues in 1 category.
Step 6 - Install the latest Android SDK.
Step 7 - Install the latest Android Studio.
Step 8 - Start an android emulator or connect a real android device to the system.
Step 9 - Install Flutter and Dart plugin for Android Studio. It provides startup template
to create new Flutter application,
Open Android Studio.
Click File → Settings → Plugins.
Select the Flutter plugin and click Install.
Click Yes when prompted to install the Dart plugin.
Restart Android studio.
Flutter Installation in MacOS
Step 1 - First Go To URL, Flutter.dev and download the latest Flutter SDK. As of May 2023, the version is 3.10.2 and the file is flutter_windows_3.10.2-stable.zip.
Step 2 - Unzip the download zip file in a folader.
Step 3 - Update your system path to include flutter bin directory.
- > export PATH = "$PATH:/path/to/flutter/bin"
Step 4 - Enable the updated path in the current session using below command and then verify it as well.
source ~/.bashrc source $HOME/.bash_profile echo $PATH
Step 5 - Install latest XCode.
Step 6 - Install latest Android SDK.
Step 7 - Install latest Android Studio.
Step 8 - Open iOS simulator or connect a real iPhone device to the system to develop iOS application.
Step 9 - Install Flutter and Dart plugin for Android Studio. It provides startup template
to create new Flutter application,
Open Android Studio
Click Preferences → Plugins
Select the Flutter plugin and click Install
Click Yes when prompted to install the Dart plugin.
Restart Android studio.
Check Now : What Is Flutter.
Questions:
- Flutter Download
- Flutter SDK
- Flutter Documentations
- Flutter Install
- Flutter SDK Download
- Flutter dev
- Flutter SDK release
- Flutter App Development
==> Also Visit : Flutter.dev